Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: TasksService, ImporterService, ValidatorService #10

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

tmrdlt
Copy link
Member

@tmrdlt tmrdlt commented Mar 19, 2024

  • Moved task running logic (including blocking) to TasksService
  • Implemented unit tests for TasksService, ImporterService and ValidatorService
  • Adjustet workflows/test.yml:
    • Run tests on PR lvl
    • Remove lint step (already part of lint.yml)
  • Fixed e2e tests: Previously the AppModule (which includes the TasksModule) was imported in the e2e tests leading to the execution of the CronJobs and the failure of the tests. We now import only the necessary modules.

@tmrdlt tmrdlt self-assigned this Mar 19, 2024
@tmrdlt tmrdlt marked this pull request as ready for review March 19, 2024 16:20
@tmrdlt tmrdlt requested a review from kenodressel March 19, 2024 16:20
@tmrdlt tmrdlt force-pushed the test/history-tasks branch from 16ec380 to 45341c2 Compare March 20, 2024 10:07
Comment on lines -46 to -48
- name: npm lint
run: npm run lint

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be nice to keep this somewhere

Copy link
Member Author

@tmrdlt tmrdlt Mar 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned above, I removed it because linting now also happens in the Code Check CI (At least npm run lint:check. npm run lint also fixes potential errors, but I don't see why this is needed in the tests).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was on the wrong branch 🤦

@tmrdlt tmrdlt merged commit 2831a43 into feat/grant-1 Mar 20, 2024
2 checks passed
@tmrdlt tmrdlt deleted the test/history-tasks branch March 20, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants